package org.example.oa.dao;

import org.example.oa.entity.ClaimVoucherItem;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 报销单条目增删改查
 */
@Repository("claimVoucherItemDao")
public interface ClaimVoucherItemDao {

    void insert(ClaimVoucherItem claimVoucherItem);
    void update(ClaimVoucherItem claimVoucherItem);
    //报销单编号由数据库生成
    void delete(int id);
    //通过报销单编号查询报销单条目
    List<ClaimVoucherItem> selectByClaimVoucher(int cvid);
}
